package com.xuyh.mqtt.realtime.dto;

import com.alibaba.fastjson.parser.DefaultJSONParser;
import com.alibaba.fastjson.parser.deserializer.ObjectDeserializer;
import java.lang.reflect.Type;

public class DateValueSerializer implements ObjectDeserializer {


    @Override
    public <T> T deserialze(DefaultJSONParser defaultJSONParser, Type type, Object o) {
        String value = defaultJSONParser.parseObject(String.class);
        System.out.println(value);
        return null;
    }

    @Override
    public int getFastMatchToken() {
        return 0;
    }
}
